package com.bwie.controller;

import com.bwie.service.TbLogService;
import com.bwie.utils.R;
import com.bwie.vo.PageInfoVo;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author 军哥
 * @version 1.0
 * @description: TODO
 * @date 2024/10/22 15:28
 */

@RestController
@RequestMapping(value = "/user/log")
@Slf4j
public class TbLogController {

    @Autowired
    TbLogService tbLogService;

    @PostMapping(value = "/getLogList")
    public R getLogList(@RequestBody PageInfoVo pageInfoVo){
        return tbLogService.getLogList(pageInfoVo);
    }

}
